package com.ggg.clothesshop.service;

import com.ggg.clothesshop.model.User;
import com.github.pagehelper.PageInfo;

public interface UserService {

    //根据id查找用户
    User selectUserById(int id);

    //查询一页用户信息
    PageInfo<User> selectByPage(int pageNum, int pageSize);

    //添加用户信息
    int addUser(User user);

    //根据账号密码查找用户
    User selectUserByPassword(User user);

    //根据账号查询用户
    User selectByAccount(String account);
}
